package cn.com.gainfo.tools;

public class CardNo {
	
	public static String shielding(String cardno){
		if(cardno != null && cardno.length()>10){
			String preStr = cardno.substring(0, 6);
			String sufStr = cardno.substring(cardno.length()-4);
			cardno = preStr + "*******" + sufStr;
		}
		return cardno;
	}
}
